package com.ccrfid.rmc6.pojo.dto.prison.rollcall;

public class RespEntity<T> {
    private String method;
    private Long param;
    private T data;

    public RespEntity() {
    }

    public RespEntity(String method, T data) {
        this.method = method;
        this.data = data;
    }

    public RespEntity(String method, Long param, T data) {
        this.method = method;
        this.param = param;
        this.data = data;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Long getParam() {
        return param;
    }

    public void setParam(Long param) {
        this.param = param;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
